<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改用户信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-user-edit" th:object="${carSysUser}">
            <input name="userId" th:field="*{userId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-2 control-label">余额：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="*{balance}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:with="type=${@dict.getType('sys_user_sex')}">
			     <div th:each="dict : ${type}" th:if="${carSysUser.sex==dict.dictValue}" th:text="${dict.dictLabel}" ></div>
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">身份证号：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="*{cardId}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">出生日期：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="${#dates.format(carSysUser.birth, 'yyyy-MM-dd')}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">民族：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="*{nation}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">入职日期：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="${#dates.format(carSysUser.workdate, 'yyyy-MM-dd')}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">最高学位：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:with="type=${@dict.getType('sys_highestdegree')}">
			     <div th:each="dict : ${type}" th:if="${carSysUser.highestdegree==dict.dictValue}" th:text="${dict.dictLabel}" ></div>
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">政治面貌：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:with="type=${@dict.getType('sys_common_politic')}">
			     <div th:each="dict : ${type}" th:if="${carSysUser.politic==dict.dictValue}" th:text="${dict.dictLabel}" ></div>
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">电子邮箱：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="*{email}">
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">工作状态：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:with="type=${@dict.getType('sys_work_status')}">
			     <div th:each="dict : ${type}" th:if="${carSysUser.workstate==dict.dictValue}" th:text="${dict.dictLabel}" ></div>
			   </div>
			    </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">联系电话：</label>
                <div class="col-sm-9">
			    <div class="form-control-static" th:text="*{phonenumber}">
			   </div>
			    </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />

</body>
</html>
